package com.example.dingding.entity;




import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * (TUseCar)表实体类
 *
 * @author 景龙
 * @since 2024-02-26 11:42:11
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_use_car")
public class UseCar {

    private Integer id;
    //审批实例id
    private String instanceId;
    //紧急程度
    private String degreeUrgency;
    //乘车人员
    private String rider;
    //手机号码
    private String phone;
    //发起人手机号码
    private String initiatorPhone;
    //用车事由
    private String vehicleCategory;
    //目的地区域
    private String destinationArea;
    //具体目的地
    private String specificDestination;
    //其他用车
    private String carDriven;
    //用车类别
    private String vehicleType;
    //用车时间
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String useTime;
    //返回时间
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String returnTime;
    //是否工作日
    private String workingDay;
    //部门
    private String department;
    //逻辑删除
    @TableLogic(value = "0", delval = "1")
    private Integer delflag;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
    //创建人
    private Integer createBy;

    //创建人姓名
    private String createByName;

    //成员ID
    private String userid;

    //抄送人ID
    private String copyUserid;

    //出发地点
    private String startingPoint;

    //是否缴纳用车费用
    private String expenses;

    //审批类型
    private  int approvalType;
    //车辆信息（电话）
    private String carMessage;

    //车牌号
    private String carNumber;


    //现公里数
    private String currentMileage;

    //原公里数
    private String originalMileage;

    //本次公里数
    private String kilometers;

    //审批状态
    private Integer approvalCount;

    //乘车人数
    private String riderNumber;

//    //审批状态
//    private Integer approvalStatus=0;
//
//    //审批次数
//    private Integer approvalCount=0;

//    //处领导
//    private List<String> divisionLeader;
//
//    //后勤处领导
//    private List<String> logistiServiceLeadership;
//
//    //后期分管行领导
//    private List<String> logisticslineManager;
//
//    //后勤车队
//    private  List<String> logisticsFleet;
}
